//求助受理界面
const appealAcceptanceCom = resolve => {
    require.ensure(['./config/helpAcceptance'], () => {
        resolve(require('./config/helpAcceptance'))
    })
}
//保险佣金
const insCommissionCom = resolve => {
    require.ensure(['./config/insCommission'], () => {
        resolve(require('./config/insCommission'))
    })
}
//保险公司
const insCompanyCom = resolve => {
    require.ensure(['./config/insCompany'], () => {
        resolve(require('./config/insCompany'))
    })
}
//保险报价单
const insPriceCom = resolve => {
    require.ensure(['./config/insPrice'], () => {
        resolve(require('./config/insPrice'))
    })
}
//保险客户
const insCustomerCom = resolve => {
    require.ensure(['./config/insCustomer'], () => {
        resolve(require('./config/insCustomer'))
    })
}
//保单
const insOrderCom = resolve => {
    require.ensure(['./config/insOrder'], () => {
        resolve(require('./config/insOrder'))
    })
}
//车型保额预警设置
const carCostWarning = resolve => {
    require.ensure(['./config/carCostWarning'], () => {
        resolve(require('./config/carCostWarning'))
    })
}
//保险佣金审核
const bxCommissionReview = resolve => {
    require.ensure(['./config/bxCommissionReview'], () => {
        resolve(require('./config/bxCommissionReview'))
    })
}
//保险公司对账单管理
const insCompanyStatemen = resolve => {
    require.ensure(['./config/insCompanyStatemen'], () => {
        resolve(require('./config/insCompanyStatemen'))
    })
}
//结算单管理
const insStatement = resolve => {
    require.ensure(['./config/insStatement'], () => {
        resolve(require('./config/insStatement'))
    })
}
//日报表
const dayReport = resolve => {
    require.ensure(['./config/dayReport'], () => {
        resolve(require('./config/dayReport'))
    })
}
//周报表
const weekReport = resolve => {
    require.ensure(['./config/weekReport'], () => {
        resolve(require('./config/weekReport'))
    })
}
//周报表保费分配
const weekPriceAllot = resolve => {
    require.ensure(['./config/weekPriceAllot'], () => {
        resolve(require('./config/weekPriceAllot'))
    })
}
//月报表保费分配
const monthAllot = resolve => {
    require.ensure(['./config/monthAllot'], () => {
        resolve(require('./config/monthAllot'))
    })
}
//月报表
const monthReport = resolve => {
    require.ensure(['./config/monthReport'], () => {
        resolve(require('./config/monthReport'))
    })
}
//季报表
const quarterReport = resolve => {
    require.ensure(['./config/quarterReport'], () => {
        resolve(require('./config/quarterReport'))
    })
}
//佣金展示
const priceShow = resolve => {
    require.ensure(['./config/priceShow'], () => {
        resolve(require('./config/priceShow'))
    })
}
//保险返利台账
const rebateLedger = resolve => {
    require.ensure(['./config/rebateLedger'], () => {
        resolve(require('./config/rebateLedger'))
    })
}
//佣金维护
const priseMaintain = resolve => {
    require.ensure(['./config/priseMaintain'], () => {
        resolve(require('./config/priseMaintain'))
    })
}
//当日汇总
const daySummary = resolve => {
    require.ensure(['./config/daySummary'], () => {
        resolve(require('./config/daySummary'))
    })
}

import NotFoundCom from '../NotFoundCom'
//保险佣金
//import insCommissionCom from './config/insCommission'
////保险公司
//import insCompanyCom from './config/insCompany'
////保险报价单
//import insPriceCom from './config/insPrice'
////保险客户
//import insCustomerCom from './config/insCustomer'
////保单
//import insOrderCom from './config/insOrder'
////车型保额预警设置
//import carCostWarning from './config/carCostWarning'
////保险佣金审核
//import bxCommissionReview from './config/bxCommissionReview'
////保险公司对账单管理
//import insCompanyStatemen from './config/insCompanyStatemen'
////结算单管理
//import insStatement from './config/insStatement'
////日报表
//import dayReport from './config/dayReport'
////周报表
//import weekReport from './config/weekReport'
////周报表保费分配
//import weekPriceAllot from './config/weekPriceAllot'
////月报表保费分配
//import monthAllot from './config/monthAllot'
////月报表
//import monthReport from './config/monthReport'
////季报表
//import quarterReport from './config/quarterReport'
////佣金展示
//import priceShow from './config/priceShow'
////保险返利台账
//import rebateLedger from './config/rebateLedger'
////佣金维护
//import priseMaintain from './config/priseMaintain'
////当日汇总
//import daySummary from './config/daySummary'
// 空组件， 标明路径跳转
import BaseCom from '../BaseCom'
// 定义子模块路由
const bxRoutes = [{
    path: 'bx',
    component: BaseCom,
    children: [
        //求助受理
        {
            path: 'appealAcceptance',
            component: appealAcceptanceCom
        },
        //佣金维护
        {
            path: 'daySummary',
            component: daySummary
        },
        //佣金维护
        {
            path: 'priseMaintain',
            component: priseMaintain
        },
        //保险返利台账
        {
            path: 'rebateLedger',
            component: rebateLedger
        },
        //佣金展示
        {
            path: 'priceShow',
            component: priceShow
        },
        //日报表
        {
            path: 'dayReport',
            component: dayReport
        },
        //周报表保费分配
        {
            path: 'weekAllot',
            component: weekPriceAllot
        },
        //周报表
        {
            path: 'weekReport',
            component: weekReport
        },
        //月报表
        {
            path: 'monthReport',
            component: monthReport
        },
        //月报表爆粉分配
        {
            path: 'monthAllot',
            component: monthAllot
        },
        //季报表
        {
            path: 'quarterReport',
            component: quarterReport
        },
        //佣金
        {
            path: 'insCommission',
            component: insCommissionCom
        },
        //公司
        {
            path: 'insCompany',
            component: insCompanyCom
        },
        //保险报价单
        {
            path: 'insPrice',
            component: insPriceCom
        },
        //保险客户
        {
            path: 'insCustomer',
            component: insCustomerCom
        },
        //保单
        {
            path: 'insOrder',
            component: insOrderCom
        },
        //车型保额预警设置
        {
            path: 'carCostWarning',
            component: carCostWarning
        },
         //保险佣金审核
        {
            path: 'bxCommissionReview',
            component: bxCommissionReview
        },
          //保险公司对账单管理
        {
            path: 'insCompanyStatemen',
            component: insCompanyStatemen
        },
        //结算单管理
        {
            path: 'insStatement',
            component: insStatement
        },

    ]

}]
export default bxRoutes